#ifndef CUSTOMIZEDIALOG_H
#define CUSTOMIZEDIALOG_H

#include <QDialog>

namespace Ui {
class CustomizeDialog;
}

class CustomizeDialog : public QDialog
{
    Q_OBJECT

public:
    explicit CustomizeDialog(QWidget *parent = nullptr);
    ~CustomizeDialog();

    void InitUi();

    const QPair<QString,QStringList>& GetWordLibInfor();    //获取自定关键词的信息

public slots:
    int exec();

    void Enter_Button_Click();      //确定按钮
    void Cancle_Button_Click();     //取消按钮
    void LoadFile_Button_Click();   //从文件中导入

private:
    Ui::CustomizeDialog *ui;

    QPair<QString,QStringList> _pairwords;
};

#endif // CUSTOMIZEDIALOG_H
